// 物流状态
const expressStatusList = [
  {
    id: 0,
    name: '未出库'
  },
  {
    id: 1,
    name: '正常出库'
  }
]

// 订单状态
const orderStatusList = [
  {
    id: 0,
    name: '待定'
  },
  {
    id: 1,
    name: '审核通过'
  },
  {
    id: 2,
    name: '审核不通过'
  }
]

const getExpressStatusName = (id) => {
    const result = expressStatusList.find(item => item.id === id)
    return result ? result.name : ''
}

export {
  orderStatusList,
  getExpressStatusName
}
